package ModelLayer;

public class Equipment extends Product {
	
	private String equipmentType;
	
	public Equipment()
	{
		
	}

	public Equipment(int productId, String name, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, int range, String description, String equipmentType, int supplier)
	{
		super(productId, name, purchasePrice, salesPrice, rentPrice, countryOfOrigin, range, description, supplier);
		//Supplier sup = new Supplier(supplier);
		//this.setSupplier(sup);
		//Range ran = new Range(range);
		//System.out.println("Equipment - new Range(range); "+ran);
		//this.setRange(ran);
		this.equipmentType = equipmentType;
		System.out.println("Equipment - this.equipmentType = equipmentType; "+equipmentType);
	}
	
	
/*	public Equipment(int productId, String name, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, Range range, String description, Supplier supplier, String equipmentType)
	{
		super(productId, name, purchasePrice, salesPrice, rentPrice, countryOfOrigin, range, description, supplier);
		this.equipmentType = equipmentType;
	}*/


	/**
	 * @return the equipmentType
	 */
	public String getEquipmentType() {
		return equipmentType;
	}


	/**
	 * @param equipmentType the equipmentType to set
	 */
	public void setEquipmentType(String equipmentType) {
		this.equipmentType = equipmentType;
	}

}
